<script>var <{$id}>;</script>
<div id="mce_handle_<{$id}>" class="mce_style_1 mce_noactive" style='opacity:0.4;FILTER:alpha(opacity=40);'>
  <ul>
    <li title="<{t}>左对齐<{/t}>" class="x-align" onclick="<{$id}>.set.bind(<{$id}>)('justifyLeft')"><span class="fa fa-align-left"></span></li>
    <li title="<{t}>居中<{/t}>" class="x-align" onclick="<{$id}>.set.bind(<{$id}>)('justifyCenter')"><span class="fa fa-align-center"></span></li>
    <li title="<{t}>右对齐<{/t}>" class="x-align" onclick="<{$id}>.set.bind(<{$id}>)('justifyRight')"><span class="fa fa-align-right"></span></li>
    <{if $params.nolink!=1}>
    <li title="<{t}>添加链接<{/t}>" onclick="<{$id}>.mklink.bind(<{$id}>)()"><span class="fa fa-link"></span></li>
    <{/if}>
    <li title="<{t}>插入表格<{/t}>" onclick="<{$id}>.dialog.bind(<{$id}>)('table',{width:543,height:230,title:'<{t}>插入表格<{/t}>'})"><span class="fa fa-table"></span></li>
    <li title="<{t}>插入图片<{/t}>" onclick="<{$id}>.dialog.bind(<{$id}>)('image',{title:'<{t}>插入图片<{/t}>'})"><span class="fa fa-image"></span></li>
    <li title="<{t}>插入横线<{/t}>" onclick="<{$id}>.set.bind(<{$id}>)('insertHTML','<hr />')"><span class="fa fa-th-large"></span></li>
    <li title="<{t}>加粗<{/t}>" class="x-enable" onclick="<{$id}>.set.bind(<{$id}>)('Bold')"><span class="fa fa-bold"></span></li>
    <li title="<{t}>斜体<{/t}>" class="x-enable" onclick="<{$id}>.set.bind(<{$id}>)('Italic')"><span class="fa fa-italic"></span></li>
    <li title="<{t}>下划线<{/t}>" class="x-enable" onclick="<{$id}>.set.bind(<{$id}>)('Underline')"><span class="fa fa-underline"></span></li>
    <li title="<{t}>中划线<{/t}>" class="x-enable" onclick="<{$id}>.set.bind(<{$id}>)('strikeThrough')"><span class="fa fa-strikethrough"></span></li>
    <li title="<{t}>脚注<{/t}>" class="x-enable" onclick="<{$id}>.set.bind(<{$id}>)('subscript')"><span class="fa fa-subscript"></span></li>
    <li title="<{t}>标注<{/t}>" class="x-enable" onclick="<{$id}>.set.bind(<{$id}>)('superscript')"><span class="fa fa-superscript"></span></li>
    <li title="<{t}>排序列表<{/t}>" class="x-enable" onclick="<{$id}>.set.bind(<{$id}>)('insertOrderedList')"><span class="fa fa-list-ol"></span></li>
    <li title="<{t}>无序列表<{/t}>" class="x-enable" onclick="<{$id}>.set.bind(<{$id}>)('insertUnorderedList')"><span class="fa fa-list-ul"></span></li>
    <li title="<{t}>减少缩进<{/t}>" onclick="<{$id}>.set.bind(<{$id}>)('outdent')"><span class="fa fa-outdent"></span></li>
    <li title="<{t}>增加缩进<{/t}>" onclick="<{$id}>.set.bind(<{$id}>)('indent')"><span class="fa fa-indent"></span></li>
    <li>
        <select class='ft_select'>
          <option><{t}>字体<{/t}></option>
          <option value='仿宋_GB2312'><{t}>仿宋<{/t}></option>
          <option value='宋体'><{t}>宋体<{/t}></option>
          <option value='黑体'><{t}>黑体<{/t}></option>
          <option value='楷体_GB2312'><{t}>楷体<{/t}></option>
          <option value='新宋体'><{t}>新宋体<{/t}></option>
          <option value='Microsoft Yahei'><{t}>雅黑<{/t}></option>
          <option value='Tahoma'><{t}>Tahoma<{/t}></option>
          <option value='Times New Roman'><{t}>Times<{/t}></option>
          <option value='Arial'><{t}>Arial<{/t}></option>
          <option value='IMPACT'><{t}>IMPACT<{/t}></option>
          <option value='Verdana'><{t}>Verdana<{/t}></option>
        </select>
    </li>
    <li>
        <select class='fs_select'>
          <option><{t}>字号<{/t}></option>
          <option value='1'>1</option>
          <option value='2'>2</option>
          <option value='3'>3</option>
          <option value='4'>4</option>
          <option value='5'>5</option>
          <option value='6'>6</option>
          <option value='7'>7</option>
        </select>
    </li>
    <li title="<{t}>文字颜色<{/t}>" class="fontColorPicker"><span class="fa fa-font"></span></li>
    <li title="<{t}>背景颜色<{/t}>" class="fontBGColorPicker"><span class="fa fa-tachometer"></span></li>
    <li onclick="<{$id}>.editHTML.call(<{$id}>)"><{t}>HTML源码<{/t}></li>
  </ul>
  <br style='clear:both;display:none'/>
</div>
<script>
    window.addEvent('domready',function(e){
        Ex_Loader("editor",function(){
            mceHandler.implement(editor_style_1);
            <{$id}>=new mceHandler($('mce_handle_<{$id}>'),new mceInstance('<{$id}>',{includeBase:<{$includeBase}><{if $disabled}>,disabled:true<{/if}>})<{if $disabled}>,{disabled:true}<{/if}>);
        });
    });
 </script>